package org.dromara.run.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.sql.Time;

/**
 * 阳光跑跑步形式规则配置对象 phy_run_activity_form
 *
 * @author chl
 * @date 2024-09-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("phy_run_activity_form")
public class ActivityForm extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO, value = "activity_id")
    private Long activityId;

    /**
     * 活动形式名称
     */
    private String activityName;

    /**
     * 有效跑步次数
     */
    private Long requiredTimes;

    /**
     * 跑步里程范围起始
     */
    private Long distanceBegin;

    /**
     * 跑步里程范围结束
     */
    private Long distanceEnd;

    /**
     * 跑步时间起始
     */
    private Time runTimeBegin;

    /**
     * 跑步时间结束
     */
    private Time runTimeEnd;

    /**
     * 配速标准开始
     */
    private String paceStandardBegin;

    /**
     * 配速标准结束
     */
    private String paceStandardEnd;


}
